<template>
  <el-row class="topManu-content">

    <el-col :span="17" class="topManu-left" v-if="!thatF">

      <div class="left-call" v-if='activityId == 1 || activityId == 14' @click="handelCall">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>叫号</span>
      </div>
      <div class="left-call" v-if='activityId == 13'>
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>门诊回访</span>
      </div>
      <div class="left-call" v-if='activityId == 13'>
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>住院回访</span>
      </div>

      <div class="left-call" v-if='pharmacyStatus' @click='handcreate(1)'>
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>药房库存</span>
      </div>
      <div class="left-call" v-if='pharmacyStatus' @click='handcreate(2)'>
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>消耗日志</span>
      </div>

      <div class="left-call" v-if='stprageStatus' @click='handcreate(1)'>
        <div class="iconfont icon-his_59_caigou"></div>
        <span style='marginTop:5px;'>采购申请</span>
      </div>
      <!-- <div class="left-call" v-if='stprageStatus&&stprageStatus!=2' @click='handcreate(2)'>
       <div class="iconfont icon-his_59_caigou"></div>
       <span style='marginTop:5px;'>采购计划</span>
     </div> -->
      <div class="left-call" v-if='stprageStatus' @click='handcreate(3)'>
        <div class="iconfont icon-his_55_ruku"></div>
        <span style='marginTop:5px;'>入库管理</span>
      </div>
      <div class="left-call" v-if='stprageStatus' @click='handcreate(4)'>
        <div class="iconfont icon-his_56_chuku"></div>
        <span style='marginTop:5px;'>出库管理</span>
      </div>
      <div class="left-call" v-if='activityId == 46' @click='handcreate2(1)'>
        <div class="iconfont icon-his_55_ruku"></div>
        <span style='marginTop:5px;'>入库管理</span>
      </div>
      <div class="left-call" v-if='activityId == 46' @click='handcreate2(2)'>
        <div class="iconfont icon-his_56_chuku"></div>
        <span style='marginTop:5px;'>出库管理</span>
      </div>
      <div class="left-call" v-if='stprageStatus||RegistrationFee=="b8"' @click='handcreate(5)'>
        <div class="iconfont icon-his_57_lingyong"></div>
        <span style='marginTop:5px;'>药品领用</span>
      </div>
      <div class="left-call" v-if='stprageStatus&&stprageStatus==8' @click='handcreate("storeUpload")'>
        <div class="iconfont icon-his_59_caigou"></div>
        <span style='marginTop:5px;'>商品盘存</span>
      </div>
      <div class="left-call" v-if='stprageStatus' @click='handcreate(6)'>
        <div class="iconfont icon-his_58_tuihui"></div>
        <span style='marginTop:5px;'>药品退领</span>
      </div>
      <!--
<<<<<<< HEAD
<<<<<<< HEAD
      <div class="left-call"  v-for="(item,index) in thatF.topmanuArry"  @click='handcreate(item)'>
      <div class="left-call"  v-for="(item,index) in thatFtopmanuArry"  @click='handcreate(item)'>
>>>>>>> 5109b0273c4c7d9efde83e2794264df9643f5524
        <div :class="'iconfont '+item.class"></div>
        <span style='marginTop:5px;'>{{item.name}}</span>
      </div> -->
      <!-- <div class="left-call" v-if='stprageStatus&&stprageStatus!=7' @click='handcreate(7)'>
       <div class="iconfont icon-his_60_pandian"></div>
       <span style='marginTop:5px;'>药品盘点</span>
     </div> -->
      <!-- <div class="left-call" v-if='RegistrationFee' @click='handcreate(1)'>
       <div class="iconfont icon-his_60_pandian"></div>
       <span style='marginTop:5px;'>挂号设置</span>
     </div>
      <div class="left-call" v-if='RegistrationFee' @click='handcreate(2)'>
       <div class="iconfont icon-his_60_pandian"></div>
       <span style='marginTop:5px;'>医生排班</span>
     </div> -->

      <div class="left-call" v-if='activityId == 20' @click="setNurseLevel">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>护理等级</span>
      </div>
      <div class="left-call" v-if='activityId == 20' @click="setFood">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>饮食类型</span>
      </div>
      <div class="left-call" v-if='activityId == 20' @click="setzhenduan">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>诊断维护</span>
      </div>
      <div class="left-call" v-if='activityId == 20' @click="setbiangeng">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>变更记录</span>
      </div>
      <div class="left-call" v-if='activityId == 20' @click="setchangyong">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>常用医嘱</span>
      </div>
      <div class="left-call" style="width:90px" v-if='activityId == 20'
           @click="setchangkey('jcjy_medical_record_tpl_id')">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>检查检验申请单</span>
      </div>
      <div class="left-call" v-if='activityId == 20' @click="setchangkey('bc_medical_record_tpl_id')">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>B超申请单</span>
      </div>
      <div class="left-call" v-if='activityId == 20' @click="setchangkey('jc_medical_record_tpl_id')">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>检查申请单</span>
      </div>
      <div class="left-call" v-if='activityId == 12'>
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>门诊病案</span>
      </div>
      <div class="left-call" v-if='activityId == 12'>
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>住院病案</span>
      </div>
      <div class="left-call" v-if='activityId == 12'>
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>病案模板</span>
      </div>
      <div class="left-call" v-if='activityId == 12'>
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>借阅登记</span>
      </div>
      <div class="left-call" v-if='activityId == 12'>
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>病案评级</span>
      </div>

      <div class="left-call" v-if='activityId == 11'>
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>楼宇管理</span>
      </div>
      <div class="left-call" v-if='activityId == 11'>
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>楼宇管理</span>
      </div>
      <div class="left-call" v-if='activityId == 11'>
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>房间管理</span>
      </div>
      <div class="left-call" v-if='activityId == 11'>
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>床位管理</span>
      </div>
      <div class="left-call" v-if='activityId == 11'>
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>器械设备</span>
      </div>

      <!-- <div class="left-call" v-if='activityId == 8'>
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>预交金</span>
      </div> -->
      <!-- <div class="left-call" v-if='activityId == 8'>
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>收费</span>
      </div> -->
      <!-- <div class="left-call" v-if='activityId == 8'>
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>退费</span>
      </div> -->
      <!-- <div class="left-call" v-if='activityId == 8'>
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>结算</span>
      </div> -->
      <!-- <div class="left-call" v-if='activityId == 8'>
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>费用设置</span>
      </div> -->
      <div class="left-call" v-if='activityId == 7'>
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>患者</span>
      </div>
      <div class="left-call" v-if='activityId == 17' @click="handsplitben">
        <div class="iconfont icon-his_50_fenchuang"></div>
        <span style='marginTop:5px;'>分床</span>
      </div>
      <div class="left-call" v-if='activityId == 8' @click='handcreate'>
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>入院办理</span>
      </div>
      <div class="left-call" style="width:130px" v-if='activityId == 8' @click="handleCommand('x')">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>入院信息变更</span>
      </div>
      <div class="left-call" v-if='activityId ==8' @click="handleCommand('c')">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>入院撤销</span>
      </div>
      <div class="left-call" v-if='activityId ==8' @click="handleCommand('y')">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>预交款</span>
      </div>
      <div class="left-call" v-if='activityId ==8' @click="handdeposit">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>预交款管理</span>
      </div>


      <div class="left-call" style="width:100px" v-if='activityId ==8' @click="handleCommand('cxtj')">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>撤销护理出院</span>
      </div>

      <div class="left-call" style="width:80px" v-if='activityId ==8' @click="handleCommand('bxy-cxcy')">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>撤销出院</span>
      </div>

      <div class="left-call" v-if='activityId == 8' @click="handleCommand('f')">
        <div class="iconfont icon-his_50_fenchuang"></div>
        <span style='marginTop:5px;'>分床</span>
      </div>


      <div class="left-call" v-if='activityId == 4' @click="handdepositset">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>退款管理</span>
      </div>

      <div class="left-call" v-if='activityId == 6 || activityId==10' @click="(e)=>{$emit('handlePut',e)}">
        <div class="iconfont icon-his_55_ruku"></div>
        <span style='marginTop:5px;'>入库</span>
      </div>
      <div class="left-call" v-if='activityId == 6 || activityId==10'>
        <div class="iconfont icon-his_56_chuku"></div>
        <span style='marginTop:5px;'>出库</span>
      </div>
      <div class="left-call" v-if='activityId == 6 || activityId==10'>
        <div class="iconfont icon-his_57_lingyong"></div>
        <span style='marginTop:5px;'>领用</span>
      </div>
      <div class="left-call" v-if='activityId == 6 || activityId==10'>
        <div class="iconfont icon-his_58_tuihui"></div>
        <span style='marginTop:5px;'>回退</span>
      </div>
      <div class="left-call" v-if='activityId == 6 || activityId==10 ||activityId == 11'>
        <div class="iconfont icon-his_59_caigou"></div>
        <span style='marginTop:5px;'>采购</span>
      </div>
      <div class="left-call" v-if='activityId == 6 || activityId==10 ||activityId == 11'>
        <div class="iconfont icon-his_60_pandian"></div>
        <span style='marginTop:5px;'>盘点</span>
      </div>
      <div class="left-call" v-if='activityId == 6 || activityId==10'>
        <div class="iconfont icon-his_61_xinxibiao"></div>
        <span style='marginTop:5px;'>信息表</span>
      </div>
      <div class="left-call" v-if='activityId == 4||activityId == 20' @click="handleNurse(1)">
        <div class="iconfont icon-his_52_huajia"></div>
        <span style='marginTop:5px;'>分床</span>
      </div>
      <div class="left-call" v-if='activityId == 4' @click="handleNurse(2)">
        <div class="iconfont icon-his_53_pishi"></div>
        <span style='marginTop:5px;'>护理单</span>
      </div>
      <div class="left-call" v-if='activityId == 3'>
        <div class="iconfont icon-his_40_xiaodui"></div>
        <span style='marginTop:5px;'>校对</span>
      </div>
      <div class="left-call" v-if='activityId == 3'>
        <div class="iconfont icon-his_41_koufei"></div>
        <span style='marginTop:5px;'>扣费</span>
      </div>
      <div class="left-call" v-if='activityId == 3'>
        <div class="iconfont icon-his_42_zhihang"></div>
        <span style='marginTop:5px;'>执行</span>
      </div>
      <div class="left-call" v-if='activityId == 3'>
        <div class="iconfont icon-his_43_hushiting"></div>
        <span style='marginTop:5px;'>护士停</span>
      </div>
      <!-- <div class="left-call" v-if='activityId == 4' @click="handleNurse(3)">
        <div class="iconfont icon-his_48_zhuyuancuikuan"></div>
        <span style='marginTop:5px;'>体温单</span>
      </div> -->
      <!-- <div class="left-call" v-if='activityId == 4' @click="handleNurse(6)">
        <div class="iconfont icon-his_49_chuyuanshenqing"></div>
        <span style='marginTop:5px;'>出院申请</span>
      </div> -->
      <div class="left-call" v-if='activityId == 4' @click="handleNurse(4)">
        <div class="iconfont icon-his_49_chuyuanshenqing"></div>
        <span style='marginTop:5px;'>催缴打印</span>
      </div>
      <div class="left-call" v-if='activityId == 4' @click="handleNurse(5)">
        <div class="iconfont icon-his_48_zhuyuancuikuan"></div>
        <span style='marginTop:5px;'>护理出院</span>
      </div>
      <div class="left-call" style="width:100px" v-if='activityId == 4' @click="handleNurse(7)">
        <div class="iconfont icon-his_48_zhuyuancuikuan"></div>
        <span style='marginTop:5px;'>撤销护理出院</span>
      </div>
      <div class="left-call" v-if='activityId == 4' @click="handleNurse(6)">
        <div class="iconfont icon-his_48_zhuyuancuikuan"></div>
        <span style='marginTop:5px;'>费用清单</span>
      </div>
      <div class="left-call" v-if='activityId == 3'>
        <div class="iconfont icon-his_30_yizhuzuofei"></div>
        <span style='marginTop:5px;'>医嘱作废</span>
      </div>
      <div class="left-case" v-if='activityId == 1 || activityId == 7'>
        <div class="iconfont icon-his_32_shuxiebingli"></div>
        <span style='marginTop:5px;'>书写病历</span>
      </div>
      <div class="left-case" v-if='activityId == 7'>
        <div class="iconfont icon-his_32_shuxiebingli"></div>
        <span style='marginTop:5px;'>诊断维护</span>
      </div>
      <div class="left-case" v-if='activityId == 7'>
        <div class="iconfont icon-his_32_shuxiebingli"></div>
        <span style='marginTop:5px;'>医嘱处理</span>
      </div>
      <div class="left-diagnose" v-if='activityId == 1 || activityId == 14'>
        <div class="iconfont icon-his_33_kaizhenduan"></div>
        <span style='marginTop:5px;'>开诊断</span>
      </div>
      <div class="left-prescription" v-if='activityId == 1 || activityId == 14' @click='handelPrescription'>
        <div class="iconfont icon-his_34_kaichufang"></div>
        <span style='marginTop:5px;'>开处文</span>
      </div>
      <div class="left-diagnosis" v-if='activityId == 1 || activityId == 7' @click="handleDiagnosis">
        <div class="iconfont icon-his_35_zhenliaoxiangmu"></div>
        <span style='marginTop:5px;'>诊疗项目</span>
      </div>
      <div class="left-checkCase" v-if='activityId == 1 || activityId ==7'>
        <div class="iconfont icon-his_36_chakanbingli"></div>
        <span style='marginTop:5px;'>查看病例</span>
      </div>
      <div class="left-checkCase" v-if='activityId ==7'>
        <div class="iconfont icon-his_36_chakanbingli"></div>
        <span style='marginTop:5px;'>住院催款</span>
      </div>
      <div class="left-checkCase" v-if='activityId ==7'>
        <div class="iconfont icon-his_36_chakanbingli"></div>
        <span style='marginTop:5px;'>出院申请</span>
      </div>
      <div class="left-hospital" v-if='activityId == 41' @click="handTohospital(1)">
        <div class="iconfont icon-his_37_zhuanzhuyuan"></div>
        <span style='marginTop:5px;'>转住院</span>
      </div>
      <div class="left-hospital" v-if='activityId == 41' @click="handTohospital(2)">
        <div class="iconfont icon-his_37_zhuanzhuyuan"></div>
        <span style='marginTop:5px;'>门诊日志</span>
      </div>
      <div class="left-hospital" v-if='activityId == 41' @click="handTohospital(3)">
        <div class="iconfont icon-his_37_zhuanzhuyuan"></div>
        <span style='marginTop:5px;'>门诊统计</span>
      </div>
      <!-- <div class="left-termTemplate" v-if='activityId == 1'>
        <div class="iconfont icon-his_38_shuyumoban"></div>
        <span style='marginTop:5px;'>术语模板</span>
      </div> -->

      <div class="left-materials" v-if='activityId == 2' @click="handelRegistration">
        <div class="iconfont icon-his_68_guahao"></div>
        <span style='marginTop:5px;'>挂号</span>
      </div>
      <div class="left-materials" v-if='activityId == 2' @click="handelCharge">
        <div class="iconfont icon-his_08_menzhenshoufei"></div>
        <span style='marginTop:5px;'>门诊收费</span>
      </div>
      <div class="left-materials" v-if='activityId == 2' @click="handelPremium">
        <div class="iconfont icon-his_04_zhuyuanhushigongzuozhan"></div>
        <span style='marginTop:5px;'>门诊退费</span>
      </div>
      <div class="left-materials" v-if='activityId == 2' @click="handelSet">
        <div class="iconfont icon-his_71_guahaoshezhi"></div>
        <span style='marginTop:5px;'>挂号设置</span>
      </div>
      <div class="left-materials"
           v-if='activityId == 2  || activityId == 6 || activityId == 7  || activityId==10 || activityId == 11 '>
        <div class="iconfont icon-his_13_binganguanli"></div>
        <span style='marginTop:5px;'>模板管理</span>
      </div>
      <div class="left-materials" v-if='activityId == 9'>
        <div class="iconfont icon-his_39_wuzishenling"></div>
        <span style='marginTop:5px;'>重置密码</span>
      </div>
      <div class="left-materials"
           v-if='activityId == 1 || activityId == 2 || activityId == 3   || activityId == 6 || activityId == 7  || activityId==10 || activityId == 11 || activityId == 12 || activityId == 13 || activityId == 14'>
        <div class="iconfont icon-his_39_wuzishenling"></div>
        <span style='marginTop:5px;'>物资申领</span>
      </div>
      <div class="left-materials" v-if='activityId == 6' @click="(e)=>{$emit('handleDictionaries',11)}">
        <div class="iconfont icon-his_39_wuzishenling"></div>
        <span style='marginTop:5px;'>药品字典</span>
      </div>
      <div class="left-materials" v-if='activityId == 6' @click="(e)=>{$emit('handleConsumable',12)}">
        <div class="iconfont icon-his_39_wuzishenling"></div>
        <span style='marginTop:5px;'>医用耗材</span>
      </div>
      <div class="left-materials" v-if='activityId == 6' @click="(e)=>{$emit('handleServe',13)}">
        <div class="iconfont icon-his_39_wuzishenling"></div>
        <span style='marginTop:5px;'>医疗服务</span>
      </div>
      <!-- <div class="left-materials" v-if='activityId == 8' @click="(e)=>{$emit('handqingdan',14)}">
        <div class="iconfont icon-his_39_wuzishenling"></div>
        <span style='marginTop:5px;'>住院清单</span>
      </div> -->
      <div class="left-materials" v-if='activityId == 19' @click="(e)=>{$emit('handleActivety',1)}">
        <div class="iconfont icon-his_39_wuzishenling"></div>
        <span style='marginTop:5px;'>药品字典</span>
      </div>
      <div class="left-materials" v-if='activityId == 19' @click="(e)=>{$emit('handleActivety',2)}">
        <div class="iconfont icon-his_39_wuzishenling"></div>
        <span style='marginTop:5px;'>诊断字典</span>
      </div>
      <div class="left-materials" v-if='activityId == 19' @click="(e)=>{$emit('handleActivety',3)}">
        <div class="iconfont icon-his_39_wuzishenling"></div>
        <span style='marginTop:5px;'>基础字典</span>
      </div>
      <div class="left-materials" v-if='activityId == 19' @click="(e)=>{$emit('handleActivety',4)}">
        <div class="iconfont icon-his_39_wuzishenling"></div>
        <span style='marginTop:5px;'>下载目录</span>
      </div>
      <div class="left-materials" v-if='activityId == 19' @click="(e)=>{$emit('handleActivety',5)}">
        <div class="iconfont icon-his_39_wuzishenling"></div>
        <span style='marginTop:5px;'>医保对码</span>
      </div>
      <div class="left-call" v-if='activityId == 8 || activityId == 43 ' @click="handjsdata">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>结账出院</span>
      </div>
      <!-- <div class="left-call" v-if=' activityId == 50 '  @click="yujiaokuan">
    <div class="iconfont icon-his_31_jiaohao"></div>
    <span style='marginTop:5px;'>打印收据</span>
  </div> -->
      <div class="left-call" v-if='activityId == 27' @click="handybjsdata">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>医保结算</span>
      </div>
      <div class="left-call" v-if='activityId == 27' @click="handcxyb">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>撤销结算</span>
      </div>
      <div class="left-call" v-if='activityId == 27' @click="fapiaodayin">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>发票打印</span>
      </div>
      <div class="left-call" v-if='activityId == 8 ||activityId == 27' @click="downHospReport">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>结算清单</span>
      </div>
      <div class="left-call" style="width:80px" v-if='activityId == 27' @click="downHospReport2">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>医保结算单据</span>
      </div>

      <div class="left-call" v-if='activityId == 44' @click="handelDropdown2(25)">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>入院登记</span>
      </div>
      <div class="left-call" style="width:80px" v-if='activityId == 44' @click="handelDropdown2(2)">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>入院撤销</span>
      </div>
      <div class="left-call" style="width:120px" v-if='activityId == 44' @click="handelDropdown2(26)">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>入院信息变更</span>
      </div>

      <div class="left-call" v-if='activityId == 44' @click="handelDropdown2(27)">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>出院办理</span>
      </div>
      <div class="left-call" v-if='activityId == 44' @click="handelDropdown2(28)">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>出院撤销</span>
      </div>
      <div class="left-call" v-if='activityId == 44' @click="handdejiaoyi">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>冲正交易</span>
      </div>
      <div class="left-call" style="" v-if='activityId == 44' @click="handelDropdown2(29)">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>月结申报</span>
      </div>
      <div class="left-call" style="width:120px" v-if='activityId == 44' @click="handelDropdown2(4)">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>费用明细上传</span>
      </div>
      <div class="left-call" style="width:120px" v-if='activityId == 44' @click="handelDropdown2(5)">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>费用明细撤销</span>
      </div>
      <div class="left-call" style="width:240px" v-if='activityId == 44' @click="handelDropdown2(32)">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;width:180px'>医保结算单下载</span>
      </div>
      <div class="left-call" style="width:140px" v-if='activityId == 44' @click="handelDropdown2(33)">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;width:180px'>商保结算单下载</span>
      </div>
      <div class="left-call" style="" v-if='activityId == 44' @click="handelDropdown2(40)">
        <div class="iconfont icon-his_31_jiaohao"></div>
        <span style='marginTop:5px;'>医保结算</span>
      </div>
      <div class="left-materials" style="width:120px" v-if='activityId == 8||activityId == 20'
           @click="handelDropdown2(1)">
        <div class="iconfont icon-his_39_wuzishenling"></div>
        <span style='marginTop:5px;'>医生核算报表</span>
      </div>
      <!-- <div class="left-materials" v-if='activityId == 19' @click="(e)=>{$emit('handleActivety',5)}">
        <div class="iconfont icon-his_39_wuzishenling"></div>
        <span style='marginTop:5px;'>资产字典</span>
      </div> -->

      <!-- <div class="left-materials" v-if='activityId == 44'>
        <el-dropdown class="dropdown" trigger="click"  @command="handelDropdown">
          <div class="iconfont icon-his_71_guahaoshezhi el-arrow-down posi" ></div>
          <span class="el-dropdown-link el-arrow-down" style="marginTop:5px;">
            住院医保
          </span>
          <el-dropdown-menu slot="dropdown">
            <el-dropdown-item v-for="(item,key) in TopArr"  :key="key" :command="item.type">{{item.name}}</el-dropdown-item>
          </el-dropdown-menu>
        </el-dropdown>
      </div> -->
      <div class="left-materials" v-if='activityId == 8'>
        <el-dropdown class="dropdown" trigger="click" @command="handelDropdown">
          <div class="iconfont icon-his_71_guahaoshezhi el-arrow-down posi"></div>
          <span class="el-dropdown-link el-arrow-down" style="marginTop:5px;">
            转院备案
          </span>
          <el-dropdown-menu slot="dropdown">
            <el-dropdown-item v-for="(item,key) in TopArr2" :key="key" :command="item.type">{{ item.name }}
            </el-dropdown-item>
          </el-dropdown-menu>
        </el-dropdown>
      </div>
      <div class="left-materials" style="width:120px" v-if='activityId == 44'>
        <el-dropdown class="dropdown" style="width:120px" trigger="click" @command="handelDropdown">
          <div class="iconfont icon-his_71_guahaoshezhi el-arrow-down posi"></div>
          <span class="el-dropdown-link el-arrow-down" style="marginTop:5px;">
            基金结算清单
          </span>
          <el-dropdown-menu slot="dropdown">
            <el-dropdown-item v-for="(item,key) in TopArr3" :key="key" :command="item.type">{{ item.name }}
            </el-dropdown-item>
          </el-dropdown-menu>
        </el-dropdown>
      </div>
    </el-col>
    <el-col :span="17" class="topManu-left" v-if="thatF">

      <div class="left-call" v-for="(item,index) in thatF.topmanuArry" :key="index" @click='handcreate(item)'>
        <div v-if="item.key=='list'">


          <el-dropdown trigger="click" @command="thatF.handelDropdown">
            <div>
              <div :class="'iconfont '+item.class"></div>
              <span style='marginTop:5px;'>{{ item.name }}</span>
            </div>

            <el-dropdown-menu slot="dropdown">
              <el-dropdown-item v-for="(item2,index2) in item.menuArry" :command="item2.key" :key="index2">
                {{ item2.name }}
              </el-dropdown-item>

            </el-dropdown-menu>
          </el-dropdown>
        </div>
        <div v-else>
          <div :class="'iconfont '+item.class"></div>
          <span style='marginTop:5px;'>{{ item.name }}</span>
        </div>
      </div>

    </el-col>

    <!-- 右边内容 -->
    <el-col v-show='activityId != 44' :span="7" class="topManu-right">
      <div class="left-print" @click='handelNative'
           v-if='activityId == 1 || activityId == 2 || activityId == 3 || activityId == 6 || activityId == 7  || activityId == 9 || activityId == 10 ||activityId == 11 || activityId == 12 || activityId == 13 || activityId == 15'>
        <div class="iconfont icon-his_20_xinzeng"></div>
        <span style='marginTop:5px;'>新增</span>
      </div>
      <div class="left-print" @click="save"
           v-if='activityId == 1 || activityId == 2 || activityId == 3   || activityId == 6 || activityId == 7 || activityId == 9 || activityId == 10 ||activityId == 11 || activityId == 12 || activityId == 13  || activityId == 15 || activityId == 16 || activityId == 21 || activityId == 45'>
        <div class="iconfont icon-his_21_baocun"></div>
        <span style='marginTop:5px;'>保存</span>
      </div>
      <div class="left-print" v-if='activityId == 7'>
        <div class="iconfont icon-his_22_xiugai"></div>
        <span style='marginTop:5px;'>提交</span>
      </div>
      <div class="left-print" v-if='activityId == 7'>
        <div class="iconfont icon-his_22_xiugai"></div>
        <span style='marginTop:5px;'>撤销提交</span>
      </div>
      <div class="left-print" v-if='activityId == 7'>
        <div class="iconfont icon-his_22_xiugai"></div>
        <span style='marginTop:5px;'>医嘱作废</span>
      </div>
      <div class="left-print"
           v-if='activityId == 1 || activityId == 2 || activityId == 3  || activityId == 6 || activityId == 7  || activityId == 9  || activityId == 10 || activityId == 11 || activityId == 12 || activityId == 13 || activityId == 15'>
        <div class="iconfont icon-his_22_xiugai"></div>
        <span style='marginTop:5px;'>修改</span>
      </div>
      <div class="left-print"
           v-if='activityId == 1 || activityId == 2 || activityId == 3 || activityId == 6 || activityId == 7  || activityId == 9 || activityId == 10 || activityId == 11 || activityId == 12 || activityId == 13 || activityId == 14 || activityId == 15'>
        <div class="iconfont icon-his_23_shanchu"></div>
        <span style='marginTop:5px;'>删除</span>
      </div>
      <div class="left-print" v-if='activityId == 1'>
        <div class="iconfont icon-his_24_chexiao"></div>
        <span style='marginTop:5px;'>撤销</span>
      </div>
      <div class="left-print" @click="updata" v-if='activityId == 42'>
        <div class="iconfont icon-his_24_chexiao"></div>
        <span style='marginTop:5px;'>上传</span>
      </div>
      <div class="left-print"
           v-if='activityId == 1 || activityId == 2 || activityId == 3  || activityId == 6 || activityId == 7  || activityId == 9 || activityId == 10 || activityId == 11 || activityId == 12 || activityId == 13 || activityId == 14 || activityId == 15 || activityId == 16'>
        <div class="iconfont icon-his_25_yulan"></div>
        <span style='marginTop:5px;'>预览</span>
      </div>
      <div class="left-print" @click="printBtn"
           v-if='activityId == 1 || activityId == 2 || activityId == 3  || activityId == 6 || activityId == 7  || activityId == 9 || activityId == 10 || activityId == 11 || activityId == 12 || activityId == 13 || activityId == 14 || activityId == 15 || activityId == 16|| activityId == 17|| activityId == 18 ||activityId == 42'>
        <div class="iconfont icon-his_26_dayin"></div>
        <span style='marginTop:5px;'>打印</span>
      </div>
      <div class="left-print" @click="printDerive" v-if='activityId == 19 || activityId == 51|| activityId == 52    '>
        <div class="iconfont icon-his_26_dayin"></div>
        <span style='marginTop:5px;'>导出</span>
      </div>
      <div class="left-print" @click="handlechuang" v-if='activityId == 4'>
        <div class="iconfont icon-his_50_fenchuang"></div>
        <span style='marginTop:5px;'>床头卡</span>
      </div>
      <!-- <div class="left-print" @click="handleQuit" v-if='activityId == 1 || activityId == 2 || activityId == 3 || activityId == 4 || activityId == 5 || activityId == 6 || activityId == 16 || activityId == 19||signOut'>
        <div class="iconfont icon-his_27_tuichu"></div>
        <span style='marginTop:5px;'>退出</span>
      </div>  -->
      <div class="left-print" @click="handleQuit" v-if="signOut">
        <div class="iconfont icon-his_27_tuichu"></div>
        <span style='marginTop:5px;'>退出</span>
      </div>

    </el-col>

  </el-row>
</template>

<script>
let that
export default {
  data() {
    return {
      activityId: 0,
      infoId: 1,

    }
  },
  methods: {
    handleCase(e) {
      this.$emit("handleCase", e)
    },
    handleNurse(e) {
      console.log(e)
      this.$emit("handleNurse", e)
    },
    save(e) {
      this.$emit("handelSave", e)
    },
    handelNative() {
      this.$emit("handelNative")
    },
    printDerive() {
      this.$emit("handleDerive")
    },
    // 挂号
    handelRegistration() {
      this.$emit("handelRegistration")
    },
    // 门诊收费
    handelCharge() {
      this.$emit("handelCharge")
    },
    //门诊退费
    handelPremium() {
      this.$emit("handelPremium")
    },
    handelSet() {
      this.$emit("handelSet")
    },
    handelHealth() {
      this.$emit("handelHealth")
    },
    // 叫号
    handelCall() {
      this.$emit("handelCall")
    },
    // 开处方
    handelPrescription() {
      this.$emit("handelPrescription")
    },
    handelDropdown(e) {
      console.log("点击了")
      this.$emit("handelDropdown", e)
    },
    handelDropdown2(e) {
      console.log("点击了")
      this.$emit("handelDropdown2", e)
    },

    // 诊疗项目
    handleDiagnosis() {
      this.$emit("handleDiagnosis")
    },
    //住院分床
    handsplitben() {
      this.$emit("handsplitben")
    },
    //住院押金
    handdeposit() {
      this.$emit("handdeposit")

    },
    //入院登记
    handcreate(num) {
      console.log("num", num)
      this.$emit("handcreate", num)
    },
    //入院登记
    handcreate2(num) {
      console.log("num", num)
      this.$emit("handcreate2", num)
    },
    //计算管理
    handdepositset() {
      this.$emit("handdepositset")
    },
    //住院修改
    handupdata() {
      this.$emit("handupdata")
    },
    //设置护理等级
    setNurseLevel() {
      this.$emit("setNurseLevel")
    },
    //设置饮食
    setFood() {
      this.$emit("setFood")
    },
    setzhenduan() {
      this.$emit("setzhenduan")
    },
    setbiangeng() {
      this.$emit("setbiangeng")
    },
    //打印
    printBtn() {
      this.$emit('printBtn')
    },
    handleQuit() {
      this.$emit("handleQuit")
    },
    //出院结算
    handjsdata() {
      this.$emit('handjsdata')
    },
    //医保结算
    handybjsdata() {
      this.$emit('handybjsdata')
    },
    //转住院
    handTohospital(type) {
      this.$emit('handTohospital', type)

    },
    updata() {
      this.$emit('updata')
    },
    handdejiaoyi() {
      this.$emit('handdejiaoyi')
    },
    handlechuang() {
      this.$emit('handlechuang')
    },
    // 下载结算
    handcxyb() {
      this.$emit('handcxyb')
    },
    setchangyong() {
      this.$emit('setchangyong')
    },
    yujiaokuan() {
      this.$emit('yujiaokuan')
    },
    downHospReport() {
      this.$emit('downHospReport')
    },
    downHospSbReport(){
      this.$emit('downHospSbReport')
    },
    downHospReport2() {
      this.$emit('downHospReport2')
    },
    handleCommand(e) {
      this.$emit('handleCommand', e)

    },
    fapiaodayin() {
      this.$emit('fapiaodayin')
    },
    setchangkey(key) {
      this.$emit('setchangkey', key)
    }

  },
  created() {
    console.log(this.TopArr, "值")
  },
  mounted() {
    that = this
    var fullPath = this.$route.fullPath.split('?')[0]
    console.log("值", fullPath)
    switch (fullPath) {
      case "/workstation/outpatient":
        that.activityId = 1
        break
      case "/workstation/chargesOutpatient":
        that.activityId = 2
        break
      case "/workstation/InfusionRoom":
        that.activityId = 3
        break
      case "/workstation/hospitalNurse":
        that.activityId = 4
        break
      case "/workstation/medical":
        that.activityId = 5
        break
      case "/admin/drugStorage":
        that.activityId = 6
        break
      case "/workstation/hospital":
        that.activityId = 20
        break
      case "/workstation/hospitalizedCharge":
        that.activityId = 8
        break
      case "/user/account":
        that.activityId = 9
        break
      case "/admin/inventory":
        that.activityId = 10
        break
      case "/admin/fixedAssets":
        that.activityId = 28
        break
      case "/admin/case":
        that.activityId = 12
        break
      case "/admin/review":
        that.activityId = 13
        break
      // case "/system/organization":
      //  that.activityId = 14
      // break
      case "/user/control":
        that.activityId = 15
        break
      case "/workstation/registration":
        that.activityId = 16
        break
      case "/workstation/splitbed":
        that.activityId = 17
        break
      case "/bai/medicalList":
        that.activityId = 18
        break
      case "/system/dataDictionaries":
        that.activityId = 19
        break
      case "/workstation/hospitaldetails":
        that.activityId = 40
        break
      case "/admin/compile":
        that.activityId = 21
        break
      case "/workstation/jiezhang":
        that.activityId = 27
        break
      case "/bai/DoctorWorkStation":
        that.activityId = 41
        break
      case "/admin/caseInfo":
        that.activityId = 42
        break
      case "/workstation/qingdan":
        that.activityId = 42
        break
      case "/workstation/depositset":
        that.activityId = 43
        break
      case "/workstation/DepositList":
        that.activityId = 50
        break
      case "/workstation/yibao":
        that.activityId = 44
        break
      case "/workstation/weicai":
        that.activityId = 46
        break
      case "/admin/caseTemplate":
        that.activityId = 45
        break
      case "/storage/drugStorage":
        that.activityId = 51
        break
      case "/workstation/guahao_statistics":
        that.activityId = 52
        break

    }
  },
  props: ["showRight", "TopArr", "TopArr2", "TopArr3", 'pharmacyStatus', 'stprageStatus', 'RegistrationFee', 'signOut', 'thatF']
}
</script>

<style lang="scss" scoped>
@import "./index.scss";
</style>
